package com.youchuang.service;

import java.util.List;

import com.youchuang.action.cart.CartItem;
import com.youchuang.bean.Indent;
import com.youchuang.bean.IndentItem;
import com.youchuang.bean.ReceiveAddress;

public interface IndentService {

	public List<ReceiveAddress> findReceiveAddressByUserId(String userId);

	public String indentPayVerify(String IndentId, String bankRadio, String passWord, String pass);

	public void saveIndent(List<CartItem> cartItems, Indent indent, ReceiveAddress receiveAddress);
	
	public Indent findIndentById(String id);
	
	public List<IndentItem> findIndentItemByIndentId(String id);
	
	public void updateIndent(String id, int status);
	
	public List<Indent> findIndentByUserId(String userId);
	
	public List<IndentItem> findIndentItemByUserId(String userId);

}
